package com.example.demo.dao;

import com.example.demo.pojo.UserDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserDao {

    String loginUser(@Param(value = "username") String username);

    boolean setUser(@Param(value = "userdo") UserDO userDO);

    UserDO getUserNameByName(@Param(value = "username") String username);
}
